<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>云校通-学生的课程</title>
<jsp:include page="/WEB-INF/page/common/_header.jsp"></jsp:include>
<body ontouchstart style="backgroup: #fff;">
	<div class="weui_tab tab-bottom">
		<div class="weui-header bg-blue"> 
	  		<div class="weui-header-left"> <a onclick="back()" href="javascript:;" class="icon icon-109 f-white">返回</a> </div>
	    	<h1 class="weui-header-title">${term.termName }</h1>
	    </div>
		<div class="weui_tab_bd">
       		<div class="weui_panel_bd">
                <div class="weui_media_box weui_media_small_appmsg" >
                 	<c:forEach var="itm" items="${list }">
                  		<div class="weui_cells weui_cells_1">
              				<div class="weui_cell">							
              					<div class="weui_cell_bd weui_cell_primary">								
              						<p>${itm.studentName }</p>							
              					</div>
              				</div>
              				<div class="weui_cells weui_cells_access">         
					            <div class="weui_cells_title">已选报课程</div>
					            <c:if test="${itm.courseList == null || fn:length(itm.courseList) == 0}">
	              					<div class="weui_cell f-red">暂无</div>
	              				</c:if>
	              				<c:forEach var="itm2" items="${itm.courseList }" varStatus="status">
			              			<a class="weui_cell " href="<%=basePath %>/ls/interest/course/signCourseDetail/${itm2.courseId}">
						                <div class="weui_cell_bd weui_cell_primary">
						                    <p>${status.index + 1}、(${itm2.classDate})${itm2.courseName }</p>
						                </div>
						                <div class="weui_cell_ft"></div>
						            </a>
	            				</c:forEach>	
					        </div>						
              			</div>
                	</c:forEach>
            	</div>
            	<div class="weui_cell lblue tz-history-title hide" style="background-color: #fff;">
		            <div class="weui_cell_bd weui_cell_primary">
		                <p class="bold pr">小孩调班申请</p>
		            </div>
		        </div>
		        <div class="weui_media_box weui_media_small_appmsg hide" id="reqList">
		        
		        </div>
			</div>
		</div>
	</div>
</body>
<jsp:include page="/WEB-INF/page/common/_footer.jsp"></jsp:include>
</html>